package cn.amossun.starter.event.property;

import cn.amossun.starter.event.enums.ExchangeTypeEnum;
import lombok.Data;

import java.util.Map;

@Data
public class EventBindingContext {

    private final String routingKey;

    private final String exchangeName;

    private final ExchangeTypeEnum exchangeTypeEnum;

    private final String queueName;

    private final Map<String, Object> argumentsMap;

    public EventBindingContext(String routingKey,
                               String exchangeName,
                               ExchangeTypeEnum exchangeTypeEnum,
                               String queueName,
                               Map<String, Object> argumentsMap) {

        this.routingKey = routingKey;
        this.exchangeName = exchangeName;
        this.exchangeTypeEnum = exchangeTypeEnum;
        this.queueName = queueName;
        this.argumentsMap = argumentsMap;
    }

}
